package com.hangjiang.gulidear.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.hangjiang.gulidear.dao.DepartmentDao;
import com.hangjiang.gulidear.model.Department;
import com.hangjiang.gulidear.service.DepartmentService;

@Service("departmentService")
public class DepartmentServiceImpl extends BaseServiceImpl<Department>
		implements DepartmentService {
	@Resource(name = "departmentDao")
	public void setDao(DepartmentDao departmentDao) {
		super.setDao(departmentDao);
	}

	@Override
	public DepartmentDao getDao() {
		return (DepartmentDao) super.getDao();
	}
}
